<include file="public/header" />
<link rel="stylesheet" href="__ADMIN__/css/global.css">
</head>
<body style="background: #fff;">
<div class="admin-main">
	<blockquote class="layui-elem-quote">
		<form class="layui-form  J_ajaxForm"  action="{:url('Log/operation')}" method="get">
		
			<div class="layui-input-inline ml10 layui-wd" >
		        <input type="text" class="layui-input" id="mylaydate" <if condition="$formget.start gt 1"> value="{:date('Y-m-d H:i:s',$formget.start)} ~ {:date('Y-m-d H:i:s',$formget.end)}" </if> readonly placeholder="操作时间范围查询">
		        <input type='hidden' name="start"  id="lay_start_time" readonly value="{$formget.start}">
		        <input type='hidden' name="end"   id="lay_end_time" readonly value="{$formget.end}">
		 	</div>
			<div class="layui-inline  ml10">
				<div class="layui-input-inline layui-wd0" >
				  <input type="text" name="user_login" value="{$formget.user_login}" placeholder="账户或昵称搜索" class="layui-input">
				</div>
			</div>
			<div class="layui-inline  ml10">
				<div class="layui-input-inline layui-wd0" >
				  <input type="text" name="title" value="{$formget.title}" placeholder="操作描述关键字搜索" class="layui-input">
				</div>
			</div>
			
			<div class="layui-inline " >
				<button class="layui-btn layui-btn-normal">
					<i class="layui-icon">&#xe615;</i>&nbsp;&nbsp;点击搜索
				</button>
			</div>
				<div class="layui-inline fr ml20" >
				<button class="layui-btn layui-btn-normal" id="refresh_wrapper">
					<i class="layui-icon">&#xe666;</i>
				</button>
			</div>
		</form>
	</blockquote>
	
	<div class="layui-field-box">
	  <form class="layui-form">
		<table class="site-table table-hover">
			<thead>
				<tr>
					<th>管理员账号</th>
					<th>管理员昵称</th>
					<th>操作描述</th>
					<th>IP地址</th>
					<th>操作时间</th>
				</tr>
			</thead>
			<tbody>
			<foreach name="msg" item="vo">
				<tr>
					<td>{$vo.user_login}</td>
					<td>{$vo.nicename}</td>
					<td>{$vo.log_info}</td>
					<td>{$vo.log_ip}</td>
					<td>{:date('Y年m月d日 H:i:s',$vo['log_time'])}</td>
				</tr>
				</foreach>
			</tbody>
		</table>
	  </form>
	</div>
 	<if condition="$allpage gt 1">
		<div class="admin-table-page">
			<div id="mylaypage" ></div>
		</div>
	 </if> 
</div>
<script>
  myjumppage = "{:url('Log/operation',['page'=>'pageval','limits'=>'limitval','start'=>$formget.start,'end'=>$formget.end,'user_login'=>$formget.user_login,'title'=>$formget.title])}";
</script>
<include file="public/footer" />
</body>
</html>